The Research Group  
 
 
 
 


 INDEX  
 
This documentation: O:\research\exotica\docs\exotica.doc  
 M:\exotica\docs\exotica.doc  
 
 
American options: Barone-Adesi & Whaley approximation – AMER  
 Binomial Tree Model – AMERB  
 Implied Volatility (Binomial Tree) – IMPVOLAB  
 
Asian options: Fast approximation – ASV, ASN, AGC  
 Approximation for Asian on a strip – ASTRIP, ASTRIP2m, CrudeAPO  
 Spread option on Asian spreads – ASNSPRD  
 
Barrier options: Analytical solution – BRRR  
 
Basket options: Volatility of a Basket of assets – BASVOL, BASVOLT, BASVOL2D  
 Correlation between the spread of two baskets – BASCORR  
 
Boston options: BOST  
 
Bull Spreads: Combination of calls & puts – COMBOPT  
 
C.O.D. options:  Contingent premium fair value – CODPREM  
 Value and risk parameters – COD  
 
Compound options: With volatility term structure – CMPDV  
 On Asian underlying – CMPASN  
 Option on a collar – XCOL, XCOL2, XCOL3  
 
Currency options: Option on a currency exchange rate – FOREXCH  
 
Dual asset options: Analytical solution – RBOW  
 Spread options by 1-D integration – SPRDOPT  
 
Digital option: Cash-or-nothing option – DIGITAL  
 
European options: EURO, EURO_Equity, EURO_Forward,  
 Strip of daily – DSTRIP, OSTRIP  
 
Exchange one asset  
for another: RBOW  
 
Foreign Exchange: Option on a currency exchange rate – FOREXCH  
 
Implied Volatility: For American Options (Binomial Tree) – IMPVOLAB  
 For European Options (Black-Scholes) – EIMPVOL  
 
Lookback options: Analytical solution – LKBK  
 
Margrabe's option: RBOW  
 
Omicron type options: Options with daily, monthly, yearly quantity constraints – YRSTRIP, OSTRIP  
 
              Quanto Options: Options on commodity with exchange rate risks – QUANTO  
 
Rainbow option: RBOW  
 
Spread options: Spread options by 1-D integration – SPRDOPT  
 Spread option on Asian spreads – ASNSPRD  
 


Strip:  of daily European options – DSTRIP   
Straddles & Strangles: Combination of calls & puts – COMBOPT  
 
Swaption: Option to enter a swap – SWAPTION  
 
Warrant:  WARRANT  


 NAME: AMER  
 
SYNOPSIS: American option valuation  
 
USAGE: AMER (Price, Strike, IntRt, Yield, Vol, ExpDays, OptType, RetType)  
 
 Price Price of the underlying asset  
 Strike Strike price  
 IntRt Interest rate  
 Yield Yield of underlying (= interest rate when “Price” is a forward price)  
 Vol Annualized volatility  
 ExpDays Time to option expiration in days (assumes 365.25 days per year)  
 OptType 1 = call  
 0 = put  
 RetType 0 = option premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho (Black’s model rho, for options on forwards/futures)  
 5 = theta (annualized)  
 6 = delta-vega (= d(delta)/d(vol) )  
 7 = charm (annualized, change in delta with respect to time)  
 
DESCRIPTION:  
Valuation of American options using analytical approximation of Barone-Adesi and Whaley (J. of Finance, June 1987). For equity options “Price” is the current “spot” price and “Yield” is the continuous (approximated) dividend yield. For commodity pricing where “Price” is a forward price, “Yield” is set equal to the interest rate, “IntRt.”  
 
NOTES:  
When time to expiration is zero or negative, the intrisic value of the option is returned as the premium, and all risk parameters are returned as zero.  
 Time to expiration is input in calendar days. Internally, this day count is converted into years using an actual/365.25 convention (that is, the model uses 365.25 days per year). Other day count conventions can be simply implemented by properly scaling the “ExpDays” input.  
 Due to the nature of the Barone-Adesi and Whaley method some discontinuities exist at the early exercise boundary. The delta is continuous across this boundary, but gamma and vega are discontinuous (they go from some finite value to a value of zero when “inside” the early exercise regime).  
 
EXAMPLE WORKSHEETS:  
 O:\research\exotica\xll\xll_templates\amer.xls  
 M:\exotica\xll\xll_templates\amer.xls  
 


 NAME: AMERB  
 
SYNOPSIS: American option valuation using the Binomial Tree Model  
 
USAGE: AMERB (Price, Strike, IntRt, Yield, Vol, ExpDays, OptType, Nsteps, RetType)  
 
Price Price of the underlying asset  
 Strike Strike price  
 IntRt Interest rate  
 Yield Yield of underlying (= interest rate when "Price" is a forward price)  
Vol Annualized volatility  
ExpDays Time to option expiration in days (assumes 365.25 days per year)  
 OptType 1 = call  
 0 = put  
Nsteps Number of time steps for the binomial tree  
 RetType 0 = option premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho (Black's model rho, for options on forwards/futures)  
 5 = theta (annualized)  
 6 = delta-vega (= d(delta)/d(vol) )  
 7 = charm (annualized, change in delta with respect to time)  
 
DESCRIPTION:  
Valuation of American options using a Binomial Tree model. For equity options “Price” is the current “spot” price and “Yield” is the continuous (approximated) dividend yield. For commodity pricing where “Price” is a forward price, “Yield” is set equal to the interest rate, “IntRt”. The input “Nsteps” specifies the number of time steps in the binomial tree. A value of 100 seems to be more than sufficient to get accurate results even for 10-year options. This parameter can be reduced to achieve more speed, or increased to get more accuracy as needed.  
 
NOTES:  
When time to expiration is zero, the intrinsic value of the option is returned as the premium, and all risk parameters are returned as zero.  
 Time to expiration is input in calendar days. Internally, this day count is converted into years using an actual/365.25 convention (that is, the model uses 365.25 days per year). Other day count conventions can be simply implemented by properly scaling the “ExpDays” input.  
 
EXAMPLE WORKSHEETS:  
 O:\research\exotica\xll\xll_templates\amer.xls  
 M:\exotica\xll\xll_templates\ amer.xls  


 NAME: ASN  
 
SYNOPSIS: Asian option using a fast approximation  
 
USAGE: ASN (Price, Strike, IntRt, Vol, SetPrice, TotDays, SetDays, toNext, toEnd, OptType, RetType)  
 
Price Price of the underlying asset  
 Strike Strike price  
 IntRt Interest rate  
 Vol Annualized volatility  
SetPrice The average price to date (used only if valuation date is inside averaging date)  
 TotDays Total number of prices that go into the average  
 SetDays Number of prices in average that are already determined  
 toNext Time (in years) until the next price settles  
 toEnd Time (in years) until the final price of the average settles  
OptType 1 = call  
 0 = put  
 RetType 0 = premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho  
 5 = theta (annualized, see end of Notes below)  
 6 = delta-vega (= d(delta)/d(vol) )  
 
DESCRIPTION:  
Finds the premium and risk parameters for an Asian option on a single underlying asset. Specification of all inputs in annual terms allows the user flexibility in the choice of time conventions.  
 
NOTES:  
This version of the Asian model is both more flexible and less confusing than earlier versions in the handling of time. This version has four time-related inputs: the total number of points which go into the average, the number of points already determined, the time until the next averaging point settles, and the total time remaining until the final point of the average is determined. This system for handing time allows the user to separately increment averaging time (number of points settled) and calendar time (time to final expiration, time to next settle). As all inputs that involve time are in annual terms, the user is allowed flexibility in how the passage of time is defined (trading days, calendar days, or a hybrid of the two).  
 For calculation of theta, a finite difference method using actual time inputs is suggested.  
 
EXAMPLE WORKSHEETS:  
O:\research\exotica\xll\xll_templates\asian.xls  
 M:\exotica\xll\xll_templates\asian.xls  


 NAME: AGC  
 
SYNOPSIS: Asian option using geometric conditioning approximation  
 
USAGE: AGC (Price, Strike, SetPrice, IntRt, Yield, Vol1, Vol2, AvgStart, AvgEnd, OptType, RetType)  
 
Price Price of the underlying asset  
 Strike Strike price  
 SetPrice The average price to date (used only if valuation date is inside averaging date)  
 IntRt Interest rate  
 Yield Yield of underlying (= interest rate when "Price" is a forward price)  
 Vol1 Annualized volatility of the underlying before average starts  
 Vol2 Annualized volatility of the underlying after average starts  
 AvgStart Time (in days) to start of averaging period  
 AvgEnd Time (in days) to end of averaging period  
OptType 1 = call  
 0 = put  
 RetType 0 = premium  
 1 = delta  
 2 = gamma  
 3 = vega with respect to Vol1  
 4 = rho  
 5 = theta (annualized)  
 6 = delta-vega1 (= d(delta)/d(vol1) )  
 7 = vega to Vol2  
 8 = delta-vega2 (= d(delta)/d(vol2) )  
 
DESCRIPTION:  
Finds the premium and risk parameters for an Asian option on a single underlying asset. Two volatility inputs reflect the difference in volatility assumptions before and after delivery starts. The geometric conditioning approximation for average price option is based on a reference by Michael Curran in Management Science, 40, (1992), p1705.  
 
NOTES:  
Two vegas and two delta-vegas are among the outputs due to the two volatility inputs.  
 
EXAMPLE WORKSHEETS:  
O:\research\exotica\xll\xll_templates\agc.xls  
 M:\exotica\xll\xll_templates\agc.xls  


 NAME: ASNSPRD  
 
SYNOPSIS: Spread option on Asian spread  
 
              USAGE: ASNSPRD (PriceA, PriceB, Strike, IntRt, VolA, VolB, Correl, SetAvgA, SetAvgB, AvgStart, ExpDays, OptType, RetType)  
 
 PriceA Forward price of commodity A  
 PriceB Forward price of commodity B  
 Strike Strike price  
 IntRt Interest rate  
 VolA Annualized volatility of commodity A  
 VolB Annualized volatility of commodity B  
 Correl Correlation coefficient for A and B  
 SetAvgA Realized average to date (ignored if average has not yet started)  
 SetAvgB Realized average to date (ignored if average has not yet started)  
 AvgStart Time (in days) to start of averaging period  
 ExpDays Time to option expiration in days  
 OptType 1 = call  
 0 = put  
 RetType 0 = premium  
 1 = delta with respect to A  
 2 = delta with respect to B  
 3 = gamma with respect to A  
 4 = gamma with respect to B  
 5 = vega with respect to VolA  
 6 = vega with respect to VolB  
 7 = eta (premium sensitivity to change in correlation)  
 8 = rho  
 9 = theta (annualized)  
 10 = charm for A (annualized)  
 11 = charm for B (annualized)  
 12 = cross-gamma  
 
DESCRIPTION:  
Finds the premium and risk parameters for an option on the spread between two average prices. This model makes a lognormal approximation to both average prices, and then calls the spread-option pricing model that uses a gaussian quadrature method to find 1-D integral.  
 
NOTES:  
 Currently vegas are not exact, finite difference method is suggested to find vegas.  
 
EXAMPLE WORKSHEETS:  
O:\research\exotica\xll\xll_templates\asnsprd.xls  
M:\exotica\xll\xll_templates\asnsprd.xls  


 NAME: ASNSPRD2  
 
         SYNOPSIS: Spread option on Asian spread – it has the same concept as ASNSPRD, but with different times for starting the averaging periods. This version also allows pricing options on cash assets.  
 
              USAGE: ASNSPRD2 (PriceA, PriceB, Strike, IntRt, q1, q2, VolAf, VolBf, VolA, VolB, Correl, SetAvgA, SetAvgB, AvgStartA, AvgStartB, ExpDays, OptType, RetType)  
 
 PriceA Forward price of commodity A  
 PriceB Forward price of commodity B  
 Strike Strike price  
 IntRt Interest rate  
 q1 Yield of commodity A  
 q2 Yield of commodity B  
 VolAf Annualized volatility of commodity A before the averaging period  
 VolBf Annualized volatility of commodity B before the averaging period  
 VolA Forward volatility of commodity A in the averaging period  
 VolB Forward volatility of commodity B in the averaging period  
 Correl Correlation coefficient for A and B  
 SetAvgA Realized average to date (ignored if average has not yet started)  
 SetAvgB Realized average to date (ignored if average has not yet started)  
 AvgStartA Time (in days) to start of averaging period for commodity A  
 AvgStartB Time (in days) to start of averaging period for commodity B  
 ExpDays Time to option expiration in days  
 OptType 1 = call  
 0 = put  
 RetType 0 = premium  
 1 = delta with respect to A  
 2 = delta with respect to B  
 3 = gamma with respect to A  
 4 = gamma with respect to B  
 5 = vega with respect to VolA  
 6 = vega with respect to VolB  
 7 = eta (premium sensitivity to change in correlation)  
 8 = forward rho  
 9 = theta (annualized)  
 10 = charm for A (annualized)  
 11 = charm for B (annualized)  
 12 = cross-gamma  
 13 = cash rho  
 
ASNSPRD2 is continued on the next page.  


 DESCRIPTION:  
Finds the premium and risk parameters for an option on the spread between two average prices. This model makes a lognormal approximation to both average prices, and then calls the spread-option pricing model that uses a gaussian quadrature method to find 1-D integral.  
 
EXAMPLE WORKSHEETS:  
O:\research\exotica\xll\xll_templates\asnsprd2.xls  
 M:\exotica\xll\xll_templates\asnsprd2.xls  


 NAME: ASTRIP  
 
SYNOPSIS: Asian option on a strip that allows correlation to be specified  
 
              USAGE: ASTRIP (Price_Rng, Vol_Rng, Next_Rng, End_Rng, Settles_Rng, SetDays, Strike, IntRt, Correl, SetPrice, toExp, OptType, RetType, RetMonth)  
               
 Price_Rng Range of forward prices for each underlying asset  
 Vol_Rng Range of annualized volatilities for each underlying asset  
 Next_Rng Range of dates for beginning of averaging for each underlying asset  
 End_Rng Range of dates for end of averaging for each underlying asset  
 Settles_Rng Range of number of price samples for each underlying asset  
 SetDays Number of price samples already determined  
 Strike Strike price  
 IntRt Interest rate  
 Correl Taken to be the correlation between all pairs of strip components  
 SetPrice The average price to date (used only if valuation date is inside averaging date)  
 toExp Time (in years) to the option settlement date (used for discounting only)  
 OptType 1 = call  
 0 = put  
 RetType 0 = premium per unit volume  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho  
 5 = theta (annual theta with one more price sample going into the average)  
 6 = theta (annual theta with no additional price sample going into the average)  
 7 = charm (not available – returns ZERO)  
 8 = eta (premium sensitivity to change in correlation)  
 9 = delta-vega (= d(delta)/d(vol) )  
 RetMonth The month number to be used for the Greeks  
 
DESCRIPTION:  
Finds the premium and risk parameters for an Asian option where averaging is over multiple underlyings (for example, the one year average of the daily prompt contract closing price). The averaging periods need not be continuous. For example, averaging could be over the last three days of NYMEX for 6 months. However, the averaging periods for the underlying prices must not overlap (that is, the samples from the first underlying must all be determined before the price samples from the second underlying begin, and so on.), and the strip of underlying assets must be supplied in the chronological order in which they contribute to the average price.  
 
ASTRIP is continued on the next page.  


  The number of price samples taken from each underlying is explicitly specified by the user and, once defined, will never change over the life of the option. The input parameter “SetDays” tells the valuation routine the number of price points that have already been determined. The values of the time inputs in “Next_Rng” and “End_Rng” will change from day to day. “Next_Rng” specifies the time until the next price sample for each underlying asset. Before averaging begins, this is simply the time until the first averaging point for each underlying. After averaging begins, “Next_Rng” will contain the time until the next sample point for the “prompt” underlying and will contain the times until the first sample points for the underlyings that have not yet contributed to the average. The “Next_Rng” and “End_Rng” inputs are ignored for underlyings that will no longer contribute to the average (that is, the underlyings that have already rolled off).  
 The correlation specified by the user is taken to be the correlation between all pairs of strip underlyings. The gamma that is returned can be interpreted as the change in the parallel shift delta due to a change in the single underlying.  
 Theta for Asian options is somewhat problematic since there may be discrete price samples in the average price to date (“SetPrice”). The model can return two different thetas, one that includes the forward price in “SetPrice” and one that does not. Both are calculated using finite differences and are expressed in annual terms. The thetas are equivalent for options priced before the averaging period starts (that is, when “SetDays” = 0). When “SetDays” > 0, “RetType” = 5 adjusts “SetPrice” to include the forward price as another sample in the weighted average price to date. “RetType” = 6 calculates theta with no extra price factored into “SetPrice”.  
 
EXAMPLE WORKSHEETS:  
O:\research\exotica\xll\xll_templates\asianstr.xls  
 M:\exotica\xll\xll_templates\asianstr.xls  


 NAME: ASTRIP2m  
 
SYNOPSIS: Asian option on a two-asset average  
 
              USAGE: ASTRIP2m (Price_1, Price_2, Vol_1, Vol_2, toNext_1, toNext_2, toEnd_1, toEnd_2, NumSettles_1, NumSettles_2, SetDays, Strike, IntRt, Correl, SetPrice, toExp, OptType, RetType, RetAsset)  
 
 Price_1 Forward price of asset 1  
 Price_2 Forward price of asset 2  
 Vol_1 Annualized volatility of asset 1  
 Vol_2 Annualized volatility of asset 2  
 toNext_1 Time (in years) until the next price sample for asset 1  
 toNext_2 Time (in years) until the next price sample for asset 2  
 toEnd_1 Time (in years) until the end of averaging period for asset 1  
 toEnd_2 Time (in years) until the end of averaging period for asset 2  
 NumSettles_1 Number of price samples for asset 1  
 NumSettles_2 Number of price samples for asset 2  
 SetDays Number of price samples already determined  
 Strike Strike price  
 IntRt Interest rate  
 Correl Correlation between asset prices while both are “alive”  
 SetPrice The average price to date (used only if valuation date is inside averaging date)  
 toExp Time (in years) to the option settlement date (used for discounting only)  
 OptType 1 = call  
 0 = put  
 RetType 0 = premium per unit volume  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho  
 RetAsset The asset number, used when RetType = 1, 2, or 3 (delta, gamma, vega)  
 
DESCRIPTION:  
 Finds the premium and risk parameters for an Asian option where averaging is over two underlying assets. The averaging periods need not be continuous. For example, averaging could be over the last three days of NYMEX in two successive months. However, the averaging periods for the underlying prices must not overlap (that is, the samples from the first underlying must all be determined before the price samples from the second underlying begin), and the two assets must be supplied in the chronological order in which they contribute to the average price. In other words, asset 1 must be sampled first, and then asset 2.  
 
ASTRIP2m is continued on the next page.  


  The number of price samples taken from each underlying is explicitly specified by the user and, once defined, will never change over the life of the option. The input parameter “SetDays” tells the valuation routine the number of price points that have already been determined. The values of the time inputs “toNext_1”, “toNext_2”, “toEnd_1”, and “toEnd_2” will change from day to day. The “toNext” inputs specify the time until the next price sample for each underlying asset. Before averaging begins, this is simply the time until the first averaging point for each underlying. After averaging begins, “toNext_1” will contain the time until the next sample point for the first underlying and “toNext_2” will contain the time until the first sample point for the second underlying. The “toNext_1” and “toEnd_1” inputs are ignored after all the price samples for asset 1 have been determined.  
 The correlation specified by the user is taken to be the correlation between the two underlying asset prices during the time when they are both trading. The gamma that is returned can be interpreted as the change in the parallel shift delta due to a change in the single underlying.  
 Theta for Asian options is somewhat problematic since there are discrete points at which price samples go into the average. For this reason, theta is best calculated directly by the user using a finite difference approach. In this way the user can explicitly include (or exclude) the price sampling in the chosen time step.  
 
EXAMPLE WORKSHEETS:  
O:\research\exotica\xll\xll_templates\astrip2m.xls  
 M:\exotica\xll\xll_templates\astrip2m.xls  


 NAME: ASV  
 
SYNOPSIS: Asian option using a fast volatility approximation  
 
              USAGE: ASV (Price, Strike, IntRt, Vol, SetPrice, toExp, AvgStart, AvgEnd, TradeDays, OptType, RetType)  
 
 Price Price of the underlying asset  
 Strike Strike price  
 IntRt Interest rate  
 Vol Annualized volatility  
 SetPrice The average price to date (used only if valuation date is inside averaging date).  
 toExp Calendar days to the option settlement date (used for discounting only)  
 AvgStart Time (in trading days) to start of averaging period  
 AvgEnd Time (in trading days) to end of averaging period  
 TradeDays Number of trading days per year  
 OptType 1 = call  
 0 = put  
 RetType 0 = premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho  
 5 = theta (annualized)  
 6 = delta-vega (= d(delta)/d(vol) )  
 
NOTES:  
 If the averaging period has already started, then the value for “AvgStart” will be negative.  
 
EXAMPLE WORKSHEETS:  
O:\research\exotica\xll\xll_templates\asian.xls  
 M:\exotica\xll\xll_templates\asian.xls  


 NAME: BASCORR  
 
SYNOPSIS: Determines the correlation between two baskets of assets  
 
              USAGE: BASCORR (PriceA_Rng, PriceB_Rng, VolA_Rng, VolB_Rng, WeightA_Rng, WeightB_Rng, TsetA_Rng, TsetB_Rng, Correl_Rng, ExpYrs)  
 
 PriceA_Rng Range of forward prices for assets in basket A  
 PriceB_Rng Range of forward prices for assets in basket B  
 VolA_Rng Range of annualized volatilities for assets in basket A  
 VolB_Rng Range of annualized volatilities for assets in basket B  
 WeightA_Rng Range of weights for assets in basket A  
 WeightB_Rng Range of weights for assets in basket B  
 TsetA_Rng Range of expirations (in years) for forward contracts in basket A  
 TsetB_Rng Range of expirations (in years) for forward contracts in basket B  
 Correl_Rng Range of correlations (see matrix below for order of inputs)  
 
 
 
 
 
 
 
 ExpYrs Time to expiration for the baskets (in years)  
 
DESCRIPTION:  
 Calculates the correlation between two baskets using the forward prices, volatilities, weights, correlations between individual contracts, and time to expiration. This function is employed when using functions involving spread options, where the correlation between two baskets of assets is a required input.  
 
NOTES:  
There is no limit on the number of components in either basket. Since the correlation matrix is symmetric, only the values in the lower triangular part of the supplied range are used. The 1s along the main diagonal of the correlation matrix are not included when supplying the range of inputs. It is important to note that the correlations are to be entered as a row vector. This allows the correlations to be changed over time, when models are built where each row corresponds to a particular period of expiration.  
 The order in which these individual correlations are supplied in the array is important, and this is shown as an example in the diagram above. First, the correlations between assets in the first basket are entered; then, the correlations between assets in the second basket; and finally the correlations between assets across the two baskets. So, in the case of two baskets (A and B) with three assets in each and a correlation matrix as given above, the individual correlations would be entered as the following row vector:  
 
[A2A1, A3A1, A3A2, B2B1, B3B1, B3B2, B1A1, B1A2, B1A3, B2A1, B2A2, B2A3, B3A1, B3A2, B3A3]  
 
BASCORR is continued on the next page.  
 
EXAMPLE WORKSHEETS:  
 O:\research\exotica\xll\xll_templates\bascorr.xls  
 M:\exotica\xll\xll_templates\bascorr.xls  


 NAME: BASVOL  
 
SYNOPSIS: Determines the approximate annualized volatility for a basket of assets  
 
USAGE: BASVOL (Price_Rng, Vol_Rng, Drift_Rng, Weight_Rng, Correl_Rng, ExpYrs)  
 
 Price_Rng Range of forward prices for each underlying asset  
 Vol_Rng Range of annualized volatilities for each underlying asset  
 Drift_Rng Range of annualized asset drifts, where drift = r – q  
 Weight_Rng Range of weights for assets in the basket  
 Correl_Rng Range of correlation matrix (uses values in the lower  
              triangular part of the range only)  
 ExpYrs Time to expiration for the basket (in years)  
 
DESCRIPTION:  
 Calculates the volatility of a basket of assets using Vince’s method. Option prices can be calculated with the regular European or American models with this volatility. There is no limit on the number of components in the basket. Since the correlation matrix is symmetric, only the values in the lower triangular part of the supplied range are used.  
 
EXAMPLE WORKSHEETS:  
O:\research\exotica\xll\xll_templates\basket.xls  
 M:\exotica\ xll\xll_templates\basket.xls  


 NAME: BASVOLT  
 
SYNOPSIS: Calculates the approximate volatility for a basket of assets that expire at different times  
 
USAGE: BASVOLT (Price_Rng, Vol_Rng, Weight_Rng, Tset_Rng, Correl_Rng, ExpYrs, RetType)  
 
 Price_Rng Range of forward prices for each underlying asset  
 Vol_Rng Range of annualized volatilities for each underlying asset  
 Weight_Rng Range of weights for assets in the basket  
 Tset_Rng Range of expirations for each asset (in years)  
 Correl_Rng Range of correlation matrix (uses values in the lower triangular part of  
              the range only)  
 ExpYrs Time to expiration for the basket (in years)  
 RetType 0 = Volatility of the basket  
 1 = Expected value of the basket  
 
DESCRIPTION:  
 Similar to the BASVOL function, but more general form that accounts for different expiration dates for the underlying contracts. In a spreadsheet model, these expiration dates may all be set in a single row/column.  
 
NOTES: Option prices can be calculated with the regular European or American models with this volatility. There is no limit on the number of components in the basket. Since the correlation matrix is symmetric, only the values in the lower triangular part of the supplied range are used.  
 
EXAMPLE WORKSHEET:  
 O:\research\exotica\xll\xll_templates\basket.xls  
 M:\exotica\ xll\xll_templates\ basket.xls  


NAME: BASVOL2D   
SYNOPSIS: Calculates approximate volatility for a basket of two forward contracts.  
 
USAGE: BASVOL2D (PriceA,PriceB,VolA,VolB,WeightA,WeightB,Correl,ExpTime)  
 
 PriceA, PriceB Prices of two forward contracts A and B.  
VolA,VolB Volatilities (annualized) of two forwards  
WeightA,WeightB Weightings of the two forwards  
 Correl  Correlation between the two forwards  
 ExpTime Time to option expiration (in years)  
 
DESCRIPTION:  
    Calculates the volatility of a basket of two commodities using Vince’s method. Option prices can be calculated with the regular European or American models with this volatility. This is a special case of BASVOL specific to two forward contracts.  
 
EXAMPLE WORKSHEET:  
O:\research\exotica\xll\xll_templates\basket.xls  
 M:\exotica\ xll\xll_templates\basket.xls  
 


  
NAME: BRRR  
 
SYNOPSIS: Barrier Option with Risk parameters.  
 
USAGE: BRRR (Price, Strike, IntRt, Yield, Vol, ExpDays, BarrPr, Rebate, KnockType, OptType, RetType)  
 
Price Forward price  
 Strike strike  
Vol annualized volatility of underlying  
 IntRt interest rate  
 Yield dividend yield ( = interest rate for options on commodity forwards/futures)  
 ExpDays Time to expiration  
 BarrPr price level at which option is knocked in or out (a.k.a. outstrike)  
Rebate rebate paid when/if option is knocked out or if option is not knocked in  
 
    OptType 1 = call  
 0 = put  
    KnockType 0 = knock-out option  
 1 = knock-in option  
 
 RetType 0 = premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho (Black's model rho, for options on futures/forwards)  
 5 = theta (annualized)  
 
DESCRIPTION:  
Pricing for barrier options ( knock-in and knock-out options).  
 
EXAMPLE WORKSHEET:  
O:\research\exotica\xll\xll_templates\barrier.xls  
 M:\exotica\ xll\xll_templates\ barrier.xls  
 
 


  
NAME: BOST  
 
SYNOPSIS: BOST Option (Pay at maturity European option)  
 
USAGE: BOST (Price, Breakeven, IntRt, Yield, Vol, ExpDays, OptType)  
 
Price price of the underlying  
 Breakeven Breakeven price  
 IntRt interest rate  
 Yield yield of underlying (=interest rate when "Price" is a forward price)  
Vol annualized volatility  
 ExpDays Calendar days from valuation date to option expiration date  
 
 OptType 1 = call  
 0 = put  
 
 
DESCRIPTION:  
Given the above specified inputs, BOST returns the maximum payment for a BOST option (ie. the maximum amount that the option purchaser could be required to pay if the option ends out of the money). This function values the BOST options by requiring the user to specify the desired Breakeven value. The Breakeven value is the price of the underlying at which the BOST option expires with zero value. For example, take a call option with a Breakeven point of $2.75 and a maximum payment of $0.10. If the underlying price is above the $2.75 the option will payoff the same as a regular call option with a $2.75 strike. If the underlying price at expiration is below $2.75 at expiration, the option holder must pay an option premium. This payment is equal to $2.75 minus the underlying's price, but is capped at the $0.10 maximum payment amount.  
 
For equity options "Price" is the current "spot" price and "Yield" is the dividend yield. For commodity pricing where "Price" is a forward price, "Yield" is set equal to the interest rate, "IntRt."  
 
EXAMPLE WORKSHEETS:  
 O:\research\exotica\xll\xll_templates\BOST.xls  
 M:\exotica\ xll\xll_templates\ BOST.xls  
 


 NAME: CMPASN  
 
SYNOPSIS: Value a compound option on an Asian (call or put on a call or put)  
          
         USAGE: CMPASN (Price, IntRt, Vol, SetPrice, TotDays, SetDays, toNext, ExpDays,  
         CmpVol, AsnStrike, CompStrike, CmpExpDays, CmpIntRt,  
          CmpOptType, RetType, Tsteps)  
               
 Price forward price for Asian  
 IntRt interest rate  
                    Vol volatility (today to Asian expiration)  
                   SetPrice average price to date (used only if valuation date inside averaging date).  
 TotDays total number of prices which go into the average  
 SetDays number of prices in average which are already determined  
 toNext time (days) until next price settles  
 ExpDays time (days) until final price of the average settles  
 
 CmpVol volatility from now until compound expiration  
 AsnStrike strike of Asian call or put  
 CompStrike strike of compound option  
    CmpExpDays days until expiration of compound option  
 CmpIntRt interest rate to compound option expiration  
 CmpOptType option type: 1= call on call  
 2= put on call  
 3= call on put  
 4= put on put  
    RetType type of return value 0= premium for option  
     1= parallel shift delta  
     2= parallel shift gamma  
     3= vega  
     4= rho  
     5= theta (annualized)  
     11= delta of the first forward price  
     12= delta of the second forward price  
 Tsteps number of time steps in binomial tree (recommend at least 100)  
DESCRIPTION:  
COMPASN finds the value of holding a compound option on an asian option. This model values the compound option using a simplified model. During the time up to the compound option expiration, the model allows the asian to move only in a parallel shift fashion according to the specified “ asian vol.” At compound expiration the asian is priced normally, using the specified forward volatility (“Vol”).  
 
EXAMPLE WORKSHEET:  
O:\research\exotica\xll\xll_templates\cmpasn.xls  
M:\exotica\ xll\xll_templates\cmpasn.xls  
 
 


NAME: CMPDV   
SYNOPSIS: CMPDV option with two point Volatility term structure.  
 
                   USAGE: CMPDV (Price, StrOver, StrUnder, TimeOver, TimeUnder, IntRt, Yield, Vol, FwdVol, OptType, RetType)  
 
Price Forward price  
 StrOver strike of overlying option  
 StrUnder strike of underlying option  
 TimeOver Time to expiration (days) of overlying option  
 TimeUnder Time to expiration (days) of underlying option  
 IntRt interest rate  
 Yield dividend yield ( = interest rate for commodity options)  
Vol (present) annualized volatility of underlying  
 FwdVol Volatility of underlying expected at time Tover  
 
OptType 1 = call on a call  
 2 = put on a call  
 3 = call on a put  
 4 = put on a put  
 5 = volatility from valuation date to Tover  
 
 RetType 0 = premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho (Black's model rho, for options on futures/forwards)  
 5 = theta (annualized)  
 
DESCRIPTION:  
Returns premium or risk parameters for a CMPDV option. A two point volatility term structure is specified by giving the average volatility of the underlying from the valuation date to the underlying option expiration and also specifying the volatility from Tover to the underlying option expiration.  
 
EXAMPLE WORKSHEET:  
 O:\research\exotica\xll\xll_templates\CMPDV.xls  
 M:\exotica\ xll\xll_templates\CMPDV.xls  
 


  
NAME: COD  
 
SYNOPSIS: Cash on Delivery option.  
 
USAGE: COD (Price, Strike, IntRt, Yield, Vol, ExpDays, Premium, OptType, RetType)  
 
Price Forward price  
 Strike strike  
 IntRt interest rate  
 Yield dividend yield (should be set = interest rate for options on futures/forwards)  
 Vol annualized volatility  
 ExpDays Calendar days to the option expiration.  
 Premium contingent premium of option  
 
OptType 1 = call  
 0 = put  
 
 RetType 0 = premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho (Black's model rho, for options on futures/forwards)  
 5 = theta (annualized value)  
 
DESCRIPTION:  
Returns the market value and risk parameters of a C.O.D. option given the value of the option's contingent premium.  
 
NOTES: For finding the contingent premium of a COD option use CODPREM. Once the contingent premium is fixed, the fair value and the greeks of a COD option can be computed using the COD function.  
 
EXAMPLE WORKSHEET:  
O:\research\exotica\xll\xll_templates\cod.xls  
 M:\exotica\ xll\xll_templates\ cod.xls  


  
NAME: CODPREM  
 
SYNOPSIS: Cash On Delivery option contingent PREMium.  
 
USAGE: CODPREM (Price, Strike, IntRt, Yield, Vol, ExpDays, OptType)  
 
Price Forward price  
 Strike strike  
 IntRt interest rate  
 Yield dividend yield ( = interest rate for commodity options)  
 Vol annualized volatility  
 ExpDays Calendar days to the option expiration.  
 
OptType 1 = call  
 0 = put  
 
 
DESCRIPTION:  
Returns the fair value of a C.O.D. option's contingent premium.  
 
NOTES: For finding the contingent premium of a COD option use CODPREM. Once the contingent premium is fixed, the fair value and the greeks of a COD option can be computed using the COD function.  
 
 
 
EXAMPLE WORKSHEETS:  
 O:\research\exotica\xll\xll_templates\cod.xls  
 M:\exotica\ xll\xll_templates\ cod.xls  
 


  
NAME: COMBOPT  
 
SYNOPSIS: Combinations of European Calls and Puts: Strangles, Strangles and Bull SPreads  
 
USAGE: COMBOPT(Price, StrikeA, StrikeB, IntRt, Yield, VolA, VolB, ExpDays, OptType, RetType)  
 
 Price price of the underlying  
 StrikeA strike of component option A  
 StrikeB strike of component option B  
 IntRt interest rate  
 Yield yield of underlying (=interest rate when "Price" is a forward price)  
 VolA annualized volatility of component option A  
 VolB annualized volatility of component option B  
 
 ExpDays Calendar days from valuation date to option expiration date  
 OptType 1 = Long Put A + Short Call B  
 2 = Long Put A + Long Put B  
 3 = Long Put A + Long Call B = Strangle  
 4 = Long Call A + Short Put B  
 5 = Long Call A + Short Call = Bull Spread with calls  
 6 = Long Call A + Long Put B = Strangle  
 7 = Long Call A + Long Call B  
 8 = Long Put A + Short Put B = Bull Spread with puts  
 
 RetType 0 = option premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho (Black's model rho, for options on forwards/futures)  
 5 = theta (annualized)  
 6 = Black-Scholes rho  
 7 = deltavega  
 8 = Charm  
 
DESCRIPTION: Prices dual combinations of long/short calls and/or puts. All the options are european and priced using the Black-Scholes formula as in EURO. For equity options "Price" is the current "spot" price and "Yield" is the dividend yield. For commodity pricing where "Price" is a forward price, "Yield" is set equal to the interest rate, "IntRt." When time to expiration is zero or negative, the intrisic value of the option is returned as the premium, and all risk parameters are returned as zero.  
 
EXAMPLE WORKSHEET:  
 O:\research\exotica\xll\xll_templates\combopt.xls  
M:\exotica\ xll\xll_templates\combopt.xls 

 
NAME: DIGITAL   
SYNOPSIS: Digital “Cash or nothing” option  
 
USAGE: DIGITAL (Cash, Price, Strike, IntRt, Yield, Vol, ExpDays, OptType, RetType)  
 
Cash payoff payment  
Price price of the underlying  
 Strike strike  
 IntRt interest rate  
 Yield yield of underlying (=interest rate when "Price" is a forward price)  
 Vol annualized volatility  
 
 ExpDays Calendar days from valuation date to option expiration date  
 OptType 1 = call  
 0 = put  
 
 RetType 0 = option premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho (Black's model rho, for options on forwards/futures)  
 5 = theta (annualized)  
 
DESCRIPTION:  
Valuation of digital options. For equity options "Price" is the current "spot" price and "Yield" is the dividend yield. For commodity pricing where "Price" is a forward price, "Yield" is set equal to the interest rate, "IntRt."  
 
 Returns the market value or risk parameters of a digital “cash or nothing” option given the option’s contingent payoff amount.  
 
NOTES:  
 In-the-Money digital options may exhibit a negative vega, so the traditional approach to implementing bid/ask spread through the volatility input may not be appropriate for digital options. An alternative approach is to simply apply a premium/discount factor directly to the returned option value (at mid-vol).  
 
EXAMPLE WORKSHEET:  
 O:\research\exotica\xll\xll_templates\digital.xls  
 M:\exotica\ xll\xll_templates\ digital.xls  
 


  
NAME: DSTRIP  
 
SYNOPSIS: STRIP of daily options.  
 
USAGE: This function has been replaced by OSTRIP.  


  
NAME: EURO  
 
SYNOPSIS: Black-Scholes European option valuation  
 
USAGE: EURO (Price, Strike, IntRt, Yield, Vol, ExpDays, OptType, RetType)  
 
 Price price of the underlying  
 Strike strike  
 IntRt interest rate  
 Yield yield of underlying (=interest rate when "Price" is a forward price)  
 Vol annualized volatility  
 
 ExpDays Calendar days from valuation date to option expiration date  
 OptType 1 = call  
 0 = put  
 
 RetType 0 = option premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho (Black's model rho, for options on forwards/futures)  
 5 = theta (annualized)  
 6 = Black-Scholes rho  
 7 = deltavega  
 8 = Charm  
 
DESCRIPTION:  
Valuation of European options. For equity options "Price" is the current "spot" price and "Yield" is the dividend yield. For commodity pricing where "Price" is a forward price, "Yield" is set equal to the interest rate, "IntRt."  
 
NOTES: When time to expiration is zero or negative, the intrisic value of the option is returned as the premium, and all risk parameters are returned as zero.  
 Time to expiration is input in calendar days. Internally, this day count is converted into years using an actual/365.25 convention (that is, the model uses 365.25 days per year). Other day count conventions can be simply implemented by properly scaling the ExpDays input.  
 
EXAMPLE WORKSHEET:  
 O:\research\exotica\xll\xll_templates\euro.xls  
M:\exotica\ xll\xll_templates\ euro.xls  


NAME: EURO_Equity   
SYNOPSIS: Black-Scholes European option on stocks  
 
USAGE: EURO_Equity (Price, Strike, IntRt, Yield, Vol, ExpDays, OptType, RetType)  
 
 Price price of the underlying  
 Strike strike  
 IntRt interest rate  
 Yield yield of underlying (=interest rate when "Price" is a forward price)  
 Vol annualized volatility  
 
 ExpDays Calendar days from valuation date to option expiration date  
 OptType 1 = call  
 0 = put  
 
 RetType 0 = option premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho  
 5 = theta (annualized)  
 6 = deltavega  
 7 = Charm  
 
DESCRIPTION:  
Valuation of European options on stocks. "Price" is the current "spot" price and "Yield" is the dividend yield. For commodity pricing where "Price" is a forward price, please use function Euro_forward.  
 
NOTES: When time to expiration is zero or negative, the intrisic value of the option is returned as the premium, and all risk parameters are returned as zero.  
 Time to expiration is input in calendar days. Internally, this day count is converted into years using an actual/365.25 convention (that is, the model uses 365.25 days per year). Other day count conventions can be simply implemented by properly scaling the ExpDays input.  
 
EXAMPLE WORKSHEET:  
 O:\research\exotica\xll\xll_templates\euro_equity.xls  
M:\exotica\ xll\xll_templates\ euro_equity.xls  


NAME: EURO_Forward   
SYNOPSIS: Black Model for European option on forward/futures contract.  
 
USAGE: EURO_Forward (Price, Strike, IntRt, Vol, ExpDays, OptType, RetType)  
 
 Price price of the underlying  
 Strike strike  
 IntRt interest rate  
 Vol annualized volatility  
 
 ExpDays Calendar days from valuation date to option expiration date  
 OptType 1 = call  
 0 = put  
 
 RetType 0 = option premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho  
 5 = theta (annualized)  
 6 = deltavega  
 7 = Charm  
 
DESCRIPTION:  
Valuation of European options on forward / futures contract. For equity options , please use function Euro_Equity.  
 
NOTES: When time to expiration is zero or negative, the intrisic value of the option is returned as the premium, and all risk parameters are returned as zero.  
 Time to expiration is input in calendar days. Internally, this day count is converted into years using an actual/365.25 convention (that is, the model uses 365.25 days per year). Other day count conventions can be simply implemented by properly scaling the ExpDays input.  
 
EXAMPLE WORKSHEET:  
 O:\research\exotica\xll\xll_templates\euro_forward.xls  
M:\exotica\ xll\xll_templates\ euro_forward.xls 

NAME: EIMPVOL   
SYNOPSIS: Implied Volatility of an European option using Black-Scholes formula  
 
USAGE: EIMPVOL(CallPutStr, Premium, Price, Strike, , ExpDays ,IntRt, Yield,  
MaxVol, Accuracy, Maxiter)  
 
 CallPutStr 0=put  
 1=call  
 2=straddle  
 
Premium value of the option  
 Price price of the underlying  
 Strike strike  
 ExpDays Time to option expiration (days) (assumes 365.25 days per year)  
 IntRt interest rate  
 Yield yield of underlying (=interest rate when "Price" is a forward price)  
MaxVol an upper bound on the volatility to be calculated  
 Accuracy Required accuracy for the volatility  
 
 Maxiter maximal iterations to find the implied volatility  
 
 
DESCRIPTION:  
Calculates the implied volatility of an European option using the Black-Scholes model implemented in the EURO function.  
 
EXAMPLE WORKSHEETS:  
 O:\research\exotica\xll\xll_templates\eimpvol.xls  
 M:\exotica\ xll\xll_templates\eimpvol.xls 

 
 NAME: FOREXCH  
 
SYNOPSIS: Options on currencies.  
 
USAGE: FOREXCH (SpotAB, StrikeAB, IntRtA, IntRtB, VolAB, ExpDays, OptType, RetType)  
 
SpotAB spot exchange rate of A to B (for eg. £ = 1.50$)  
 StrikeAB strike for the exchange rate of A to B  
 IntRtA interest rate of currency A  
 IntRtB interest rate of currency B  
VolAB annualized volatility of the A to B exchange rate  
 
 ExpDays Calendar days from valuation date to option expiration date  
 OptType 1 = call  
 0 = put  
 
 RetType 0 = option premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rhoA = sensitivity of price to IntRtA  
 5 = theta (annualized)  
 6 = deltavega  
 7 = Charm  
 
DESCRIPTION:  
Valuation of currency options. Usually A is the foreign currency and B is the domestic currency. Pricing is from the Black-Scholes formula for stock options with dividend set to IntRtB. Option premium is expressed in (domestic) currency B units. To get the premium in (foreign) currency A, divide by the exchange rate SpotAB.  
 
 
EXAMPLE WORKSHEET:  
 O:\research\exotica\xll\xll_templates\forex.xls  
M:\exotica\ xll\xll_templates\ forex.xls  


  
NAME: IMPVOLAB  
 
SYNOPSIS: Implied Volatility of an American option using Binomial Tree Model  
 
USAGE: IMPVOLAB(Premium, Price, Strike, IntRt, Yield, MaxVol, ExpDays, OptType, Nsteps, Accuracy)  
 
Premium value of the option  
 Price price of the underlying  
 Strike strike  
 IntRt interest rate  
 Yield yield of underlying (=interest rate when "Price" is a forward price)  
 MaxVol an upper bound on the volatility to be calcluated  
ExpDays Time to option expiration (days) (assumes 365.25 days per year)  
 
 OptType 1 = call  
 0 = put  
Nsteps Number of time steps for the binomial tree  
 
 Accuracy Required accuracy for the volatility  
 
DESCRIPTION:  
Calculates the implied volatility of an American option using the Binomial tree model implemented in the AMERB function. A value of 100 for Nsteps seems to be more than sufficient to get accurate results even for a 10 year option.  
 
EXAMPLE WORKSHEETS:  
 O:\research\exotica\xll\xll_templates\impvol.xls  
M:\exotica\ xll\xll_templates\\impvol.xls 

 
 NAME: LKBK  
 
SYNOPSIS: LKBK option analytical solution for continuous case.  
 
USAGE: LKBK (Price, Strike, IntRt, Yield, Vol, ExpDays, OptType, RetType)  
 
 Price Forward price  
 Strike strike  
 IntRt interest rate  
 Yield dividend yield (= interest rate for options on futures/forwards)  
 Vol annualized volatility of underlying  
 ExpDays time until option expiration (calendar days)  
 OptType 1 = call  
 0 = put  
 RetType 0 = premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho (Black's model rho, for options on futures/forwards)  
 5 = theta (annualized)  
 6 = deltavega  
 
DESCRIPTION:  
Returns premium or risk parameters for a LKBK option. A LKBK call pays the difference between the minimum price over the option's life and the price of the underlying at expiration. A LKBK put pays the difference between the maximum price over the option's life and the underlying's price at expiration. This analytical solution assumes continuous monitoring of market prices to establish the minimum or maximum price and will result in higher option values than for LKBK options which establish minimum or maximum prices from daily close postings.  
 
EXAMPLE WORKSHEETS:  
O:\research\exotica\xll\xll_templates\lkbk.xls  
 M:\exotica\ xll\xll_templates\ lkbk.xls  


 NAME: OSTRIP  
 
SYNOPSIS: Strip of daily fixed price (FP) or forward start (FS) options  
 
              USAGE: OSTRIP (Price, Strike, NowToSet, BegDays, EndDays, FwdStFlag, IntRt, VolPrior, VolAfter, PctIndex, BasisOffset, OptType, RetType)  
 
 Price Price of the underlying asset  
 Strike Strike price for the fixed price option  
 NowToSet Fixed price option: set this to zero  
 Forward start option: days from now until strike set date  
 BegDays Fixed price option: days from now until start of option strip  
 Forward start option: days from strike set date to start of option strip  
 (Can be a non-integral value: Number of days in strip = EndDays – BegDays)  
 EndDays Fixed price option: days from now until end of option strip  
 Forward start option: days from strike set date to end of option strip  
FwdStFlag Forward Start Flag = 1 if a forward start option, and 0 if a fixed price option  
 IntRt Interest rate  
 VolPrior Annualized volatility before strip starts (for correct usage, see NOTES)  
 VolAfter Annualized volatility after strip starts (for correct usage, see NOTES)  
 PctIndex % of Index that goes into the strike for forward start option  
 Strike = Index Price * PctIndex + BasisOffset  
 BasisOffset For calculating strike price of forward start options (see line above)  
 OptType 1 = call  
 0 = put  
 RetType 0 = strip premium ($/MMBTU assuming uniform daily volumes)  
 1 = delta  
 2 = gamma  
 3 = vega (parallel shift of both VolPrior and VolAfter)  
 4 = rho  
 5 = theta  
 6 = delta for fixed strike options, strike is ATM for forward start options  
 
DESCRIPTION:  
Finds the average price for a strip of daily options from “BegDays” to “EndDays”. The options can be fixed price or forward start options. For forward start options, the strike can be specified as a percentage of index price plus a fixed offset. This function was formerly known as the OSTRIP1 model.  
 
 OSTRIP is continued on the next page.  


 NOTES:  
 The inputs for “NowToSet”, “BegDays” and “EndDays” follow the usage illustrated below:  
(i) For fixed price options  
 
 
 
 
 
 
 
 
(ii) For forward start options  
 
 
 
 
 
 
 
 
 It should be noted that the usage for forward start options is the same as that employed for the fixed price options in the OSTRIPSPRD function.  
 There are some very important considerations that need to be pointed out regarding the volatilities used in this function. In situations like those in the diagrams above, where the strip of options does not commence at the beginning of the month, it is necessary for the user to blend monthly and daily volatilities before supplying the inputs to the model. More explicitly, “VolPrior” can be found by summing variances as follows:  
 
σPrior2 x (t2 – t0) = σMonth2 x (t1 – t0) + σDaily2 x (t2 – t1), where t0, t1, and t2 correspond to 11/01/2001, 01/01/2002 and 01/15/2002, respectively in the diagrams above. “VolAfter” will correspond to the daily volatility during the month (intra-month volatility).  
 This blending needs to be done in either one of the two cases shown above (fixed price options or forward start options), when the beginning of the strip does not coincide with the beginning of the month. If, on the other hand, the start of the strip does coincide with the beginning of the month, then “VolPrior” will equal the monthly volatility and “VolAfter” will be the daily volatility during the month. In this situation, no blending will be necessary. This latter situation is typically the most common one encountered.  
 
EXAMPLE WORKSHEETS:  
 O:\research\exotica\xll\xll_templates\ostrip.xls  
 M:\exotica\ xll\xll_templates\ ostrip.xls  


 NAME: OSTRIPSPRD  
 
SYNOPSIS: Strip of daily fixed price spread options.  
 
              USAGE: OSTRIPSPRD (PriceA, PriceB, VolAMon, VolADay, VolBMon, VolBDay, CorrelMon, CorrelDay, Strike, NowToSet, BegDays, EndDays, IntRt, PctIndex, BasisOffset, FwdStFlag, OptType, RetType)  
 
 PriceA Forward price of commodity A  
 PriceB Forward price of commodity B  
 VolAMon Annualized volatility of commodity A before beginning of month in which strip starts  
 VolADay Intra-month annualized volatility of commodity A  
 VolBMon Annualized volatility of commodity A before beginning of month in which strip starts  
 VolBDay Intra-month annualized volatility of commodity A  
 CorrelMon Correlation coefficient of A and B before beginning of month in which strip starts  
 CorrelDay Intra-month correlation coefficient of A and B  
 Strike Strike price for the fixed price option  
                       NowToSet Fixed price option: days from now until beginning of month in which strip starts  
                       Forward start option: NOT YET IMPLEMENTED  
 BegDays Fixed price option: days from beginning of month to start of option strip  
 Forward start option: NOT YET IMPLEMENTED  
 (Can be a non-integral value: Number of days in strip = EndDays – BegDays)  
 EndDays Fixed price option: days from beginning of month to end of option strip  
 Forward start option: NOT YET IMPLEMENTED  
 IntRt Interest rate  
PctIndex % of Index that goes into the strike for forward start option  
 Strike = Index Price * PctIndex + BasisOffset  
 BasisOffset For calculating strike price of forward start options (see line above)  
FwdStFlag Forward Start Flag = 1 if a forward start option, and 0 if a fixed price option  
OptType 1 = call  
 0 = put  
 
OSTRIPSPRD is continued on the next page.  


  RetType 0 = strip premium ($/MMBTU assuming uniform daily volumes)  
 1 = delta with respect to A  
 2 = delta with respect to B  
 3 = gamma with respect to A  
 4 = gamma with respect to B  
 5 = vega with respect to VolAMon  
 6 = vega with respect to VolADay  
 7 = vega with respect to VolBMon  
 8 = vega with respect to VolBDay  
 9 = etaM (premium sensitivity to change in correlation CorrelMon)  
 10 = etaD (premium sensitivity to change in correlation CorrelDay)  
 11 = rho  
 12 = theta (annualized)  
 13 = charm for A (annualized)  
 14 = charm for B (annualized)  
 15 = cross gamma  
 16 = delta-A / vega-A  
 17 = delta-B / vega-B  
 
DESCRIPTION:  
Finds the average price for a strip of daily spread options from “BegDays” to “EndDays”. The options must be fixed price options (a version for forward start options has not yet been implemented).  
 
NOTES:  
 It should be noted that the inputs for “NowToSet”, “BegDays” and “EndDays” follow the same usage as that employed for the forward start options in the OSTRIP function. This is illustrated below:  
 
 
 
 
 
 
 
 
EXAMPLE WORKSHEETS:  
O:\research\exotica\xll\xll_templates\ostripspread.xls  
M:\exotica\ xll\xll_templates\ ostripspread.xls  


NAME: PPLUS   
SYNOPSIS: European spread option between two baskets, combination of analytical method  
    with 1-D integration.  
 
USAGE: PPLUS (SA1, SA2, SB1, SB2, DaysSB1, DaysSB2, VolA1, VolA2, VolB1, VolB2, CorrA1A2, CorrB1B2, CorrA1B1, CorrA2B1, CorrA1B2, CorrA2B2, Strike, IR, Tmat, Opttype, RetType, Aflag, Bflag)  
 
 SA1 Forward price 1 in basket A (Prompt contract price)  
 SA2 Forward price 2 in basket A (Posting basis price)  
 SB1 Forward price 1 in basket B (Prompt +1 contract price)  
 SB2 Forward price 2 in basket B (Prompt + 2 contract price)  
 DaysSB1 Trading days for SB1 that are part of the swap  
 DaysSB2 Trading days for SB2 that are part of the swap  
 VolA1 Annualized volatility of SA1 contract  
 VolA2 Annualized volatility of SA2 contract  
 VolB1 Annualized volatility of SB1 contract  
 VolB2 Annualized volatility of SB2 contract  
 CorrA1A2 Correlation between A1 and A2  
CorrB1B2 Correlation between B1 and B2  
CorrA1B1 Correlation between A1 and B1  
CorrA2B1 Correlation between A2 and B1  
CorrA1B2 Correlation between A1 and B2  
CorrA2B2 Correlation between A2 and B2  
Strike Strike price (Posting bonus)  
 IR Interest rate  
 Tmat Time to maturity (in years)  
 Opttype 1 = call  
 0 = put  
 RetType see chart below  
 Aflag see chart below  
 Bflag see chart below  
 
RetType	Aflag	Bflag	
0 = premium	-	-	
1 = delta	1-4 (A1, A2, B1, B2)	-	
2 = gamma	1-4 (A1, A2, B1, B2)	1-4 (A1, A2, B1, B2)	
3 = vega	1-4 (A1, A2, B1, B2)	-	
4 = rho	-	-	
5 = theta	-	-	
6 = DeltaVega	1-4 (A1, A2, B1, B2)	1-4 (A1, A2, B1, B2)	
7 = Charm	1-4 (A1, A2, B1, B2)	-	
8 = eta	1-6 (each correlation)	-	
 
DESCRIPTION: Finds the premium and risk parameters for an option on the spread between two baskets. Each basket contains two assets. The payouts for the options are as follows:  
 
         Call: Max (((A1 + A2) – (B1 + B2)) – k, 0)  
         Put: Max (k – ((A1 + A2) – (B1 + B2)), 0)  
 
 PPLUS is continued on the next page.  
    

This function was developed for pricing P-Plus options, but may be used to value any options involving the spread between two baskets of two assets each.   
NOTES: This function requires the input of a vector of individual correlations between assets, which should be entered in the following order:  
 [A2A1, B2B1, B1A1, B1A2, B2A1, B2A2]  
    Additionally, it should be noted that “Aflag” and “Bflag” are used when determining the Greeks for the function. In general, 1 is used to indicate the first asset in A, 2 for the second asset in A, 3 for the first asset in B and 4 for the second asset in B. The flags, “Aflag” and “Bflag”, do not relate specifically to baskets A and B, but are used in the manner described below.  
    Some of the Greeks do not require a flag, as they measure the sensitivity of the price of the option with respect to a variable not directly related to the assets in the baskets. Instances of these are rho and theta, which depend on the interest rate and time, respectively. Some of the Greeks require the use of only one flag, and in these cases “Aflag” is used. Instances of these are the deltas, vegas and etas, which depend on the underlying forward prices of the individual assets, their volatilities and the correlations between their returns, respectively. Some of the Greeks are second-order derivatives and require the use of two flags – in these cases both “Aflag” and “Bflag” are used. For instance, DeltaVegas are found by indicating the required delta by “Aflag” and the required vega by “Bflag”; cross-gammas are found by indicating the first asset with “Aflag” and the second with “Bflag”. To find the gamma of the option with respect to a particular asset, the same number should be entered for both “Aflag” and “Bflag”.  
 
Examples:  
 = theta – no flag necessary, as this is independent of assets in the baskets  
 = delta for A1 – use 1 for “Aflag” and ignore “Bflag”  
 = cross-gamma for A2 and B1 – use 2 for “Aflag” and 3 for “Bflag” (or vice-versa)  
 = gamma for B2 – use 4 for both “Aflag” and “Bflag”  
 
 
EXAMPLE WORKSHEET:  
O:\research\exotica\xll\xll_templates\pplus.xls  
 M:\exotica\ xll\xll_templates\ pplus.xls  


NAME: QUANTO   
SYNOPSIS: Options on commodity with exchange rate risk.  
 
USAGE: QUANTO (ExRt, Price, Strike, dIntRt, fIntRt, Yield, exVol, Correl, ExpDays,  
 OptType, Qtype, RetType)  
 
ExRt spot exchange rate (domestic currency/ foreign currency)  
 Price Price of the underlying asset denominated in foreign currency  
 Strike strike for the exchange rate of A to B  
 dIntRt domestic interest rate [not used for Qtype 1options]  
 fIntRt foreign interest rate [not used for Qtype 2 options]  
Yield dividend yield  
 Vol volatility for the underlying  
 exVol volatility for exchange rate [not used for Qtype 1options]  
 
 Correl correlation between the underlying and the exchange rate  
              [not used for Qtype 1options]  
 
ExpDays Calendar days from valuation date to option expiration date  
 OptType 1 = call  
 0 = put  
 
 Qtype 1 = Foreign Equity/Foreign Strike  
 2 = Foreign Equity/Domestic Strike  
 3 = Fixed exchange rate equity option  
 4 = Equity-linked foreign exchange option  
 
 RetType 0 = option premium  
 1 = Delta of Price  
 2 = Delta of ExRt  
 3 = Gamma of Price  
 4 = Gamma of ExRt  
 5 = Cross Gamma  
 6 = Vega of Price  
 7 = Vega of ExRt  
 8 = Theta  
 9 = Domestic Rho  
 10 = Foreign Rho  
 11 = Eta  
 
QUANTO is continued on the next page.  


 DESCRIPTION:  
 
Although QUANTO can value call or put options, the following examples discuss the calls for each option type.  
 
Qtype = 1: Value as an option on a foreign equity struck in the foreign currency and with the payoff converted into dollars at expiration.  
 
where Sf  is the foreign denominated equity price, is the foreign denominated strike, and X is the price of a unit of the foreign currency in terms of domestic currency. This case reduces to simply finding the value of a simple equity option in the frame of reference of the foreign currency holder and then translating that value in to dollars at the spot exchange rate.  
          
Qtype = 2: Value as an option on a foreign equity struck in terms of domestic currency.  
 
As above, Sf  is the foreign denominated equity price, is the strike (in domestic currency), X is the price of a unit of the foreign currency in terms of domestic currency, and Xf is the price of a unit of domestic currency in terms of the foreign currency. In the frame of reference of the foreign currency holder, this is an option to exchange one asset (K units of our currency) for another (the equity). The value of this option can be found by valuing the “option to exchange” and then translating that foreign value into our domestic currency at the spot exchange rate.  
          
Qtype = 3: A fixed exchange rate foreign equity option. This option is like a foreign equity option struck in the foreign currency, but with the fx conversion rate fixed in advance to remove any fx uncertainty.  
 
 where X0 is the fixed fx rate, Kf is the foreign denominated strike, and K is the strike in terms of domestic currency .  
 
Qtype = 4: An equity linked foreign exchange option. This option is a foreign exchange option which gets multiplied by a foreign equity price:  
 
 Note that in this case the units of K are the same as the units for X, ($/unit of foreign currency), and the units of C4 are $/share.  
 
A more detailed discussion of these options can be found in the paper by Eric Reiner “ Quanto Mechanics” in From Black-Scholes to Black Holes (Risk Publications, 1992).  
 
 
EXAMPLE WORKSHEET:  
 O:\research\exotica\xll\xll_templates\quanto.xls  
 M:\exotica\ xll\xll_templates\ quanto.xls  
 


  
NAME: RBOW  
 
SYNOPSIS: RBOW options: various dual commodity options.  
 
USAGE: RBOW (PriceA, PriceB, Strike, IntRt, VolA, VolB, Correl, ExpDays, OptType, RetType)  
 
 PriceA Forward price of commodity A  
 PriceB Forward price of commodity B  
 Strike Strike  
 IntRt interest rate  
 volA annualized volatility of commodity A  
 volB annualized volatility of commodity B  
 Correl correlation coefficient of A and B  
 ExpDays number of days to option expiration  
 
 OptType 1 Call on maximum of two assets: Max( 0, max[A,B]-Strike )  
 2 Call on minimum of two assets: Max( 0, min[A,B]-Strike )  
 3 Put on maximum of two assets: Max( 0, Strike-max[A,B] )  
 4 Put on minimum of two assets: Max( 0, Strike-min[A,B] )  
 5 Option to Exchange B for A: Max( 0, A-B )  
 6 Pays max of two assets or cash: Max( A, B, Strike)  
 
 RetType 0 premium  
 1 delta with respect to A  
 2 delta with respect to B  
 3 gamma with respect to A  
 4 gamma with respect to B  
 5 cross gamma  
 6 vega with respect to volA  
 7 vega with respect to volB  
 8 eta (premium sensitivity to change in correlation)  
 9 rho  
 10 theta (annualized)  
 
 
DESCRIPTION:  
Finds the premium and risk parameters for various types of dual commodity options.  
 
EXAMPLE WORKSHEETS:  
O:\research\exotica\xll\xll_templates\rbow.xls  
 M:\exotica\ xll\xll_templates\ rbow.xls  


  
NAME: SPRDOPT  
 
SYNOPSIS: SPRDOPT Option, combination of analytical method with 1-D integration.  
 
USAGE: SPRDOPT (PriceA, PriceB, Strike, IntRt, VolA, VolB, Correl, ExpDays, OptType, RetType)  
 
 PriceA Forward price of commodity A  
 PriceB Forward price of commodity B  
 Strike Strike  
 IntRt interest rate  
 VolA annualized volatility of commodity A  
 VolB annualized volatility of commodity B  
 Correl correlation coefficient of A and B  
 ExpDays time to option expiration (days)  
 
 OptType 1 = call  
 0 = put  
 
 RetType 0 premium  
 1 delta with respect to A  
 2 delta with respect to B  
 3 gamma with respect to A  
 4 gamma with respect to B  
 5 vega with respect to volA  
 6 vega with respect to volB  
 7 eta (premium sensitivity to change in correlation)  
 8 rho  
 9 theta (annualized)  
 10 charm for A (annualized)  
 11 charm for B (annualized)  
 12 cross gamma  
 13 delta-A / vega-A  
 14 delta-B / vega-B  
 15 cross delta-B / vega-A  
 16 cross delta-A / vega-B  
 
DESCRIPTION:  
Finds the premium and risk parameters for an option on the spread between two underlyings. This model uses a gaussian quadrature method to find 1-D integral.  
 
NOTES: If the strike price on the spread is zero, using RBOW (option type = 5) would increase the speed quite a bit. SPRDOPTC is an older version that is about 20% slower and might be less accurate in some cases. It uses a panel method using equal probability points to find the integral.  
 
EXAMPLE WORKSHEET:  
O:\research\exotica\xll\xll_templates\sprdopt.xls  
    M:\exotica\ xll\xll_templates\ sprdopt.xls  


 NAME: SWAPTION  
 
SYNOPSIS:  Option to enter a swap  
 
USAGE: SWAPTION (Fwd_Rng, Qty_Rng, SwapTime_Rng, Rates_Rng, Vol, Strike, IntRt, Expiry,  
 OptType, RetType, RetMonth)  
 
 Fwd_Rng forward prices in the swap  
 Qty_Rng notional quantities for each settlement  
 SwapTime_Rng swap settlement times in years from valuation date  
 Rates_Rng interest rates corresponding to each settlement time  
 Vol annualized volatility of the swap  
 Strike swaption strike (fixed price for underlying swap)  
 IntRt interest rate from valuation date to option expiration date  
 Expiry time to option expiration (in years)  
 
 OptType 1 = call  
 0 = put  
 
 RetType 0 premium  
                        1 delta  
                        2 Gamma  
3 vega  
 4 rho  
 5 theta (annualized)  
 6 DeltaVega  
                        7 charm  
 
 RetMonth the order of months in the swap  
 
DESCRIPTION:  
Finds the premium and risk parameters for an option to either call or put a swap. The swap volatility must be entered, and can come from either traders’ input or a basket volatility calculation using BASVOL function.  
 
NOTES:  
 Once the premium has been found (on a per unit volume basis), the total value for the swaption can be found by multiplying this premium by the total volume in the swap. This should not be a “discounted” volume, as the discounting is done within the function.  
 
EXAMPLE WORKSHEET:  
O:\research\exotica\xll\xll_templates\swaption.xls  
M:\exotica\ xll\xll_templates\swaption.xls  


  
NAME: WARRANT  
 
SYNOPSIS: Warrant Valuation  
 
USAGE: WARRANT (Price, Strike, IntRt, Yield, Vol, toVested, toExp, Nwar,  
              Nshr, OptType, RetType)  
 
 Price price of the underlying  
 Strike strike  
 IntRt interest rate  
 Yield yield of underlying  
    Vol annualized volatility  
    ToVested time (yrs) to vesting  
 to Exp Years from valuation date to option expiration date  
 Nwar number of warrants (assume 1 share per warrant)  
 Nshr number of outstanding shares  
 OptType 1 = call  
 0 = put  
 
 RetType 0 = option premium  
 1 = delta  
 2 = gamma  
 3 = vega  
 4 = rho  
     5 = theta (annualized)  
 
 
DESCRIPTION:  
A trinomial tree, with adjustments to account for dilution effects, is used to value warrants issued by a company on its own stock. The adjusted stock price is a function of the warrant value, which is solved for numerically. Ref. Hull-4th Edition, pg. 253-254.  
 
The valuation treats the warrant as American after the vesting date.  
 
EXAMPLE WORKSHEET:  
 O:\research\exotica\xll\xll_templates\warrant.xls  
 M:\exotica\ xll\xll_templates\ warrant.xls  
 


 NAME: XCAP  
 
SYNOPSIS: Value an option on a strip (call or put on a cap or floor)  
 
              USAGE: XCAP (Price_rng, IntRt_rng, Vol_rng, ExpDays_rng, StripVol, CfStrike, CompStrike, OptExpDays, OptIntRt, OptType, RetType, Tsteps)  
Price_rng range containing strip of (monthly) forward prices  
 IntRt_rng range containing strip of (monthly) interest rates  
                   Vol_rng range containing annualized forward-forward (that is, from compound option expiration to striplet expiration) mid volatilities  
ExpDays_rng range containing days until each striplet expiration date  
 Qtys_rng range containing monthly quantities for striplets  
 StripVol strip volatility from now until compound expiration  
 CfStrike Strike of cap or floor  
 CompStrike strike of compound option  
    OptExpDays Days until expiration of compound option  
 OptIntRt interest rate to compound option expiration  
 OptType compound option type: 1= call on cap  
 2= put on cap  
 3= call on floor  
 4= put on floor  
    RetType type of return value 0= premium for option  
     1= parallel shift delta  
     2= parallel shift gamma  
     3= vega  
     4= rho  
     5= theta (annualized)  
     11= delta of the first forward price  
     12= delta of the second forward price  
     ...  
 Tsteps number of time steps in binomial tree (recommend at least 30)  
DESCRIPTION:  
XCAP finds the value of holding a compound option on a cap or floor. This model values the compound option using a simplified model. During the time up to the compound optopn expiration, the model allows the strip price curve to move only in a parallel shift fashion according to the specified “ strip vol.” At compound expiration the strip of options is priced normally, using the specified forward volartilities (“Vols”).  
 
 
 
EXAMPLE WORKSHEET:  
O:\research\exotica\xll\xll_templates\xcap.xls  
M:\exotica\ xll\xll_templates\xcap.xls  
 
 
 
 
 
 
 
 
 
NAME: XCOL, XCOL2, XCOL3  
 
         SYNOPSIS: Option on a collar. XCOL3 is the most flexible and updated version. It is the preferred function for pricing options of this kind.  
 
              USAGE: XCOL3 (Price_rng, IntRt_rng, Vol_rng, ExpDays_rng, SwapVol, VolSpread, OptExpDays, Cap, Floor, OptIntRt, Tsteps, OptType, RetType)  
 
 Price_rng range containing strip of (monthly) forward prices for the collar  
 IntRt_rng range containing strip of (monthly) interest rates  
                   Vol_rng range containing annualized forward-forward (that is, from overlying expiration to collarlet expiration) mid volatilities for collarlets  
ExpDays_rng range containing days until each collarlet expiration date  
 SwapVol swaption forward (bid or offer) volatility for valuation date to overlying option expiration date  
 VolSpread Used for bid/mid and mid/offer spread for collarlet valuation  
 OptExpDays Days until expiration of overlying option  
 Cap Cap level  
 Floor Floor level  
 OptIntRt interest rate for tenor of overlying option  
 Tsteps number of time steps in binomial tree (recommend at least 30)  
OptType 1 = call * Available only on XCOL3 function  
 0 = put  
 RetType 0 = premium for option  
                             1 = delta * risk parameters only available in XCOL2 and XCOL3 functions  
 2 = gamma  
 3 = vega  
 4 = rho  
 5 = theta  
 
DESCRIPTION:  
XCOL finds the value of a call option on a collar (collar is defined as long calls, short puts). The call option on the collar has a strike price of zero. Thus, the option would be exercised in all cases where the collar has a positive value. The user must provide forward prices over the term of the collar, the swaption volatility from the valuation date to the overlying option expiration date, and the forward-forward volatilities from the overlying expiration to each of the months in the collar. The VolSpread is used to incorporate bid/ask spread into the collar pricing. A positive VolSpread will make the collar more expensive and a negative VolSpread will make the collar less expensive.  
 
NOTES:  
Risk parameters are not currently implemented, so “RetType” is for all practical purposes a dummy argument. There is no strike price in this implementation. The collar is callable at a strike of zero.  
 
EXAMPLE WORKSHEET: O:\research\exotica\xll\xll_templates\xcol.xls  
M:\exotica\ xll\xll_templates\xcol.xls 

NAME: xCrudeAPO   
SYNOPSIS: Asian option on a strip of two-crude oil contracts  
 
         USAGE: xCrudeAPO( Price1, Price2, Vol1, Vol2, Sig1, Sig2, AvgStart, AvgEnd, Settle1, Settle2, SetDays, Strike, IntRt, Correl, SetPrice, toExp, OptType, RetType, RetMonth )  
 
                   Price1 futures price for the crude oil futures contract that is prompt during the first of the month  
                   Price2 futures price for the crude oil futures contract that is prompt at the end of the month  
    Vol1 forward volatility for the first futures contract  
    Vol2 forward volatility for the second futures contract  
    Sig1 forward-forward volatility for the first futures contract  
    Sig2 forward-forward volatility for the second futures contract  
                   AvgStart time (years) until the start of the averaging period for the first futures contract  
                   AvgEnd time (years) until the end of the averaging period for the second futures contract  
    Settle1 total number of trading days the first futures contract is prompt  
    Settle2 total number of trading days the second futures contract is prompt  
    SetDays number of trading days already past in the month  
    Strike strike price  
    IntRt interest rate  
    Correl correlation between the two futures contracts while both are “alive”  
    SetPrice The average price to date (used only if SetDays > 0)  
    toExp Time (years) to the option settlement date (used for discounting only).  
    OptType 1 = call  
 0 = put  
     
    RetType 0 = premium per unit volume  
 1 = delta  
 2 = gamma  
 3 = vega  
4 = rho  
5 = theta  
7 = charm – currently returns zero NOT YET WORKING  
8 = eta  
9 = deltavega  
     
    RetMonth the month number, used with RetType=1,2,3(delta, gamma, vega)  
 
DESCRIPTION:  
Finds the premium and risk parameters for an Asian option (an average price option, APO) for one calendar month of crude oil futures contracts. NYMEX crude oil futures normally expire in the third week of the month. In each calendar month therefore, two crude oil future contracts are prompt. For example, in January 2001 the NYMEX February futures contract was prompt until January 22, the last available trading day for the contract. From January 23 to the end of January, the March futures contract was prompt.  
 
Settle1 and Settle2 specify the number of trading days that will be averaged for each futures contract. The model converts these to a 365 days calendar year to compute time value of the option. The input parameter SetDays tells the valuation routine the number of price points which have already been determined.  
 
 Correl is the correlation between the two futures contracts during the time when they are both trading. Gamma can be interpreted as the change in the parallel shift delta due to a change in the either underlying. RetMonth defines which contract is of interest for the delta, gamma, and vega results. Theta for Asian options is somewhat problematic since trading days are not equivalent to calendar days conventionally used to compute time value. The theta returned by the model is calculated using a finite difference approach. For the sensitivity of delta with respect to changes in volatility, the deltavega can be used.  
 
xCrudeAPO and ASTRIP2m functions are both designed to value an Asian option based on two commodities. xCrudeAPO uses a unique front-end algorithm tailored for a crude oil futures option, while the ASTRIP2m is more generic.  
 
EXAMPLE WORKSHEET:  
 O:\research\exotica\xll\xll_templates\xCrudeAPO.xls  
 M:\exotica\ xll\xll_templates\xCrudeAPO.xls  
 


 NAME: YRSTRIP  
 
SYNOPSIS: Annual STRIP of daily European options subject to daily, monthly, and yearly take constraints.  
 
                USAGE: YRSTRIP (Price_rng, Strike_rng, IntRt_rng, Vol_rng, ToSetDays_rng, BegDays_rng, EndDays_rng, Qty_rng, AnnQty, OptType, RetType)  
 
 Price_rng range containing (monthly) prices of the underlying  
 Strike_rng range containing (monthly) strikes  
 IntRt_rng range containing (monthly) interest rates  
Vol _rng range containing annualized volatilities  
ToSet_rng range containing Calendar days from valuation date to option forward  
 start dates (used for discounting)  
 BegDays_rng range containing Days from (monthly) forward start dates to beginning of monthly strips. (Can be non-integral.)  
 EndDaus_rng range containing Days from forward start dates to the end of the strips.  
 Qty_rng (monthly) range containing maximum daily swing quantities.  
 AnnualQty maximum annual option quantity  
OptType 1 = call  
 0 = put  
 RetType < 0 return zero  
 0 = premium for most expensive strip (cost for total volume)  
 1 = average delta for most expensive strip NOT YET WORKING  
 10 =premium for the average value strip  
 11 =average delta for average value strip NOT YET WORKING  
20 = premium for the least expensive strip  
 21 = average delta for lease expensive strip NOT YET WORKING  
 
DESCRIPTION:  
YRSTRIP calculates the most or least expensive strips allowable given daily take constraints within each month, monthly total take constraints, and an annual total take constraint. The monthly take constraint is input by using the "BegDays_rng" and "EndDays_rng" to specify the available option days within each month. The beginning and ending days for the monthly strips must be found by using the daily and monthly option quantities to calculate the effective number of "option days" within each month. A daily strip of this length and with the maximum possible tenor is specified "BegDays_rng" and "EndDays_rng" day counts. The "Qty" input, contained in the range "Qty_rng" specifies the maximum daily swing volume within each month. The model assumes that this daily swing volume is constant for each month. Finally "AnnualQty" is the maximum annual swing volume.  
 This algorithm for finding the most expensive annual strip finds the cost of each possible daily option. The routine sums the daily options beginning with the most expensive and continuing until either the "AnnualQty" has been reached or all available daily options have been used.  
 
 
EXAMPLE WORKSHEET:  
O:\research\exotica\xll\xll_templates\yrstrip.xls  
 M:\exotica\ xll\xll_templates\yrstrip.xls  
 
OPTIONS LIBRARY DETAILS  
 
 
Example Sheets: O:\research\exotica\xll\xll_templates\  
 M:\exotica\ xll\xll_templates\  
 
Documentation: O:\research\exotica\docs\exotica.doc  
 M:\exotica\ docs\exotica.doc  
 
Excel Add-in: O:\research\exotica\xll\exotica.xll  
 M:\exotica\xll\exotica.xll  
 
Instructions: The add-in called the “Exotic Options Library” needs to be loaded (from Excel) once before the it can be used on a PC. Once it is loaded, all the available option routines will appear under the “User Defined” category of functions in Excel.  
 
Loading the Exotic Options Library Add-in to Excel:  
 
   1. Open a file in Excel and choose Add-in… under Tools menu.  
   2. Click the Browse button.  
   3. Type-in the add-in file name and click OK button  
   4. Choose NO to the question “Copy “Exotica.xla” to Microsoft Excel Add-in Library?”  
   5. “EXOTICA” should now appear as a new one in the list of Add-ins.  
   6. Click OK.  
 
Using the Exotic Options Library Functions in Excel: After the Option Library is loaded on the PC once, you can use the options routines just like you would use any Excel function. You can click the function button, or go to Function… under Insert menu. All the Option Library function will appear under the User Defined Functions category.  
 
 
Support: If you encounter any problems using the Option Library contact the Research Group.  
37  
ENRON EXOTICA OPTIONS LIBRARY  
 
37  
 
 
Version XLL.01 last update 8/24/01  
 
 
11/01/2001  
 
01/01/2002  
 
01/15/2002  
 
01/31/2002  
 
BegDays  
 
EndDays  
 
Strip  
 
11/01/2001  
 
01/01/2002  
 
01/15/2002  
 
01/31/2002  
 
NowToSet  
 
BegDays  
 
EndDays  
 
Strip  
 
11/01/2001  
 
01/01/2002  
 
01/15/2002  
 
01/31/2002  
 
NowToSet  
 
BegDays  
 
EndDays  
 
Strip  
 
 
 
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    